package com.example.qqfake;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

//用于初始化（已经开始）对话对象列表，包括其头像，用户名，最新一条聊天记录
public class Chat_partner{
    int touxiang;
    String name;
    String new_chat;

    public Chat_partner(int touxiang,String content,String name) {
        this.touxiang=touxiang;
        this.name = name;
        this.new_chat = content;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setNew_chat(String new_chat) {
        this.new_chat = new_chat;
    }

    public void setTouxiang(int touxiang) {
        this.touxiang = touxiang;
    }

    public String getName() {
        return name;
    }

    public int getTouxiang() {
        return touxiang;
    }

    public String getNew_chat() {
        return new_chat;
    }
}
